package org.cxy.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
// org.cxy.monitor自定义的监控组件包，需要扫描该包下的类
@ComponentScan(basePackages = {"org.cxy.demo", "org.cxy.monitor"})
public class MonitorAgentExampleApplication {

    public static void main(String[] args) {
        SpringApplication.run(MonitorAgentExampleApplication.class, args);
    }

}
